Skip to content

Prepare release/v0.19 branch#60

Merged
tore-espressif merged 3 commits into
release/v0.19from
feat/tinyusb_0.19
Oct 17, 2025
Merged

Prepare release/v0.19 branch#60
tore-espressif merged 3 commits into
release/v0.19from
feat/tinyusb_0.19

Conversation

@tore-espressif

@tore-espressif tore-espressif commented Oct 13, 2025

Copy link
Copy Markdown
Collaborator

ToDo

  • Describe branching strategy
  • Describe upstreaming strategy
  • Describe versioning
  • Add compatibility for renaming teardown to deinit hathach@f14fcaa
  • Describe Espressif changes from 0.18

Changes compared to release/v0.18

  • bumped version of idf-build-apps in GH workflows
  • Build all examples an apps for all targets (previously on S2 were built)
  • Upgraded upload-components-ci-action to v2
  • Upload action does not remove files anymore, they are excluded in idf_component.yml
  • added tags to idf_component.yml
  • added backward compatibility for tusb_teardown() now renamed to tusb_deinit()
  • README rewritten

Closes espressif/esp-usb#280

@tore-espressif tore-espressif changed the title feat: Porting commit for version 0.19 Prepare release/v0.19 branch Oct 13, 2025
Comment thread .github/workflows/build_and_run_esp_usb_test_apps.yml Outdated
export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}"
python .github/ci/override_managed_component.py tinyusb . ${{ env.ESP_TINYUSB_TEST_APPS }}/*/
idf-build-apps find --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target esp32s2 --manifest-file ${{ env.ESP_USB_MANIFEST }}
idf-build-apps build --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target esp32s2 --manifest-file ${{ env.ESP_USB_MANIFEST }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build only for esp32s2 ? Since you are using build-test-rules.yml from esp-usb you can set --target all and the SOC_CAPS will sort the targets.

@roma-jam roma-jam Oct 15, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we also have the network example in the build step, apply --target all is relevant only for usb_test_apps.
Enabling the same in the esp_idf_examples will lead to build the sta2eth example for all supported targets, not only the one relevant for us.

UPD:

part of the log from the last run (duration of the step ~6 minutes):

(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build
45
(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32c2, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build
46
(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32c3, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build
47
(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32c6, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build
48
(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32s2, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build
49
(cmake) App /opt/esp/idf/examples/network/sta2eth/, target esp32s3, sdkconfig (default), build in /opt/esp/idf/examples/network/sta2eth/build

Comment thread .github/workflows/build_and_run_idf_examples.yml
Comment thread .github/workflows/build_and_run_idf_examples.yml Outdated
@tore-espressif tore-espressif force-pushed the feat/tinyusb_0.19 branch 6 times, most recently from 61be9a2 to fc59411 Compare October 17, 2025 07:43

@tore-espressif tore-espressif left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to

  • remove esp_tinyusb test-apps run because it is very difficult to maintain.
  • comment out preview builds, as they are not stable (currently not passing with esp-idf:latest docker, but passing locally)

Comment thread .github/workflows/build_and_run_esp_usb_test_apps.yml Outdated
Comment thread .github/workflows/build_and_run_idf_examples.yml
@tore-espressif tore-espressif merged commit e7d7e3b into release/v0.19 Oct 17, 2025
21 checks passed
@tore-espressif tore-espressif deleted the feat/tinyusb_0.19 branch October 17, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants